home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / ImageMagick / magick / Make.com < prev    next >
Encoding:
Text File  |  1994-08-02  |  1.2 KB  |  52 lines

  1. $!
  2. $! Make ImageMagick X image utilities for VMS.
  3. $!
  4. $
  5. $define/nolog X11 decw$include:
  6. $define/nolog sys sys$library:
  7. $link_options="/nodebug/notraceback"
  8. $define/nolog lnk$library sys$library:vaxcrtl
  9. $
  10. $write sys$output "Making Magick..."
  11. $call Make widget
  12. $call Make X
  13. $call Make image
  14. $call Make shear
  15. $call Make quantize
  16. $call Make colors
  17. $call Make signature
  18. $call Make decode
  19. $call Make encode
  20. $call Make compress
  21. $call Make utility
  22. $call Make error
  23. $call Make PreRvIcccm
  24. $exit
  25. $
  26. $Make: subroutine
  27. $!
  28. $! A very primitive "make" (or MMS) hack for DCL.
  29. $!
  30. $if (p1.eqs."") then exit
  31. $source_file=f$search(f$parse(p1,".c"))
  32. $if (source_file.nes."")
  33. $  then
  34. $    object_file=f$parse(source_file,,,"name")+".obj"
  35. $    object_file=f$search( object_file )
  36. $    if (object_file.nes."")
  37. $      then
  38. $        object_time=f$file_attribute(object_file,"cdt")
  39. $        source_time=f$file_attribute(source_file,"cdt")
  40. $        if (f$cvtime(object_time).lts.f$cvtime(source_time)) then -
  41. $          object_file=""
  42. $      endif
  43. $    if (object_file.eqs."")
  44. $      then
  45. $        write sys$output "Compiling ",p1
  46. $        cc/nodebug/optimize/include_directory=[-] 'source_file'
  47. $      endif
  48. $  endif
  49. $exit
  50. $endsubroutine
  51.  
  52.